public class test1 {
    public static void main(String[] args) {
        System.out.println("hello world");
        System.out.println(getNumber(1, 2));
        print();
    }

    public static int getNumber(int a, int b) {
        int sum = a + b;
        return sum;
    }
    //写个打印不需要返回值的方法
    public static void print() {
        System.out.println("hello world");
    }
}

